<?php
$caracter = "*";
$rango = 14;
$salto = 4;
$cont = 0;

while ($rango !=0) {
    if($cont == 4 || $cont == 9){
        echo "\n";
    }
    else if ($cont > 5 && $cont < 8){
        echo ' ';
    }
    else {
    echo $caracter;
    }
    $rango--;
    $cont ++;
}
?>